package com.marketingexpert.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.marketingexpert.domain.Notice;

public interface NoticeDao {
	
	public int deleteNotice(int[] noticeIds) throws DataAccessException;
	
	public int publishNotice(Notice notice) throws DataAccessException;
	
	public List<Notice> viewNotice(int cursor, int pageSize) throws DataAccessException;
	
	public Notice queryNotice(int noticeId)  throws DataAccessException;

	public Notice queryNewNotice(String startTime, String endTime)  throws DataAccessException;
}
